/*
 * Created on 14-may-2006
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package sudoku.server.dominio;

/**
 * @author Administrador
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class Cuadricula {
	protected byte[][] numeros;
	
	public Cuadricula() {
		numeros=new byte[3][3];
	}
	/**
	 * @param fila
	 * @param columna
	 * @param b
	 */
	public void colocar(byte fila, byte columna, byte numero) {
		numeros[fila][columna]=numero;
	}
	
	public String toString() {
		String result="";
		for (int i=0; i<3; i++)
			for (int j=0; j<3; j++)
				result+=numeros[i][j];
		return result;
	}

}
